package com.mzd.multipledatasources3.dao.test01;

import com.mzd.multipledatasources3.bean.TestBean;
import com.mzd.multipledatasources3.mapper.test01.TransactionMapping1;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


/**
 * @author Administrator
 */
@Component

public class TransactionDao1 {

    @Autowired
    private TransactionMapping1 tm1;

    public boolean save(TestBean t) {
        return tm1.save(t) == 1;
    }

}
